#!/usr/bin/env python3

import sys
sys.path.append("../emerald/lib")

import node
import stdlib

string = stdlib.GetRandomString(20)
print(type(string))
nobject = node.NodeString(str(string))
print(string, nobject.value)
print(dir(nobject.value))

print(nobject == string)
print(nobject == 1)
print(nobject == False)

other = stdlib.GetRandomString(5)
nobject += other
print(other, string, nobject.value)

print(nobject[0].value, nobject[0:10].value)
print(len(nobject))

if nobject:
   print("Value!")

